﻿/*
 * Created by SharpDevelop.
 * User: xieen
 * Date: 2013-08-16
 * Time: 14:17
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;

namespace GoF23Learning._07.Bridge_Pattern.Refactor
{
	/// <summary>
	/// Description of ITank.
	/// </summary>
	public abstract class Tank
	{
		protected ITankPlatform platform;
		
		public ITankPlatform Platform 
		{
			get { return platform; }
			set { platform = value; }
		}
		
		public Tank(ITankPlatform tankPlatform)
		{
			this.platform = tankPlatform;
		}
		
		
		
		public abstract void Shot();
		public abstract void Run();
		public abstract void Stop();
	}
}
